Skip to content

fix cmake warning#7424

Merged
Goober5000 merged 1 commit intoscp-fs2open:masterfrom
Goober5000:fix/cmake_toolchain
May 7, 2026
Merged

fix cmake warning#7424
Goober5000 merged 1 commit intoscp-fs2open:masterfrom
Goober5000:fix/cmake_toolchain

Conversation

@Goober5000
Copy link
Copy Markdown
Contributor

Per Claude:

The IF opens with (MSVC_USE_RUNTIME_DLL OR FSO_BUILD_QTFRED) but the ELSE and ENDIF only reference (MSVC_USE_RUNTIME_DLL). CMake requires the argument in ELSE/ENDIF to match the IF exactly (or be omitted).

Per Claude:
> The `IF` opens with `(MSVC_USE_RUNTIME_DLL OR FSO_BUILD_QTFRED)` but the `ELSE` and `ENDIF` only reference `(MSVC_USE_RUNTIME_DLL)`. CMake requires the argument in `ELSE`/`ENDIF` to match the `IF` exactly (or be omitted).
@Goober5000 Goober5000 added fix A fix for bugs, not-a-bugs, and/or regressions. build An issue related to the build systems labels May 6, 2026
@Goober5000 Goober5000 merged commit 4b157fe into scp-fs2open:master May 7, 2026
20 checks passed
@Goober5000 Goober5000 deleted the fix/cmake_toolchain branch May 7, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build An issue related to the build systems fix A fix for bugs, not-a-bugs, and/or regressions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants